﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace Matrix.Common.Utility
{
    [Serializable]
    [DataContract]
    public class ResultMessage
    {
        /// <summary>
        ///     验证返回成功标识
        /// </summary>
        [DataMember(Name = "IsValidate")]
        [Display(Name = "验证返回成功标识")]
        public bool IsValidate { get; set; }

        /// <summary>
        ///     验证返回消息
        /// </summary>
        [DataMember(Name = "Message")]
        [Display(Name = "验证返回的描述")]
        public string Message { get; set; }
    }
}